<html><head><title>NextScreenMode</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">NextScreenMode()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>NextScreenMode</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

This function should be called after <a href="examinescreenmodes.html">ExamineScreenModes()</a>. It will go step-by-step into 
the screen modes list. The current screen mode information can be retieved with the following 
functions: <a href="screenmodewidth.html">ScreenModeWidth()</a>, <a href="screenmodeheight.html">ScreenModeHeight()</a>, <a href="screenmodedepth.html">ScreenModeDepth()</a> and <a href="screenmoderefreshrate.html">ScreenModeRefreshRate()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>

Nonzero if there is another screenmode to be listed, zero otherwise. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">  InitSprite</font>()

  <b><font color="#3A3966">If</font></b> <font color="#3A3966">ExamineScreenModes</font>()
    <b><font color="#3A3966">While</font></b> <font color="#3A3966">NextScreenMode</font>()
      <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Str</font>(<font color="#3A3966">ScreenModeWidth</font>())+&quot;x&quot;+<font color="#3A3966">Str</font>(<font color="#3A3966">ScreenModeHeight</font>())+&quot;x&quot;+<font color="#3A3966">Str</font>(<font color="#3A3966">ScreenModeDepth</font>())+&quot;@&quot;+<font color="#3A3966">Str</font>(<font color="#3A3966">ScreenModeRefreshRate</font>())+&quot;Hz&quot;
    <b><font color="#3A3966">Wend</font></b>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="examinescreenmodes.html">ExamineScreenModes()</a>, <a href="screenmodewidth.html">ScreenModeWidth()</a>, <a href="screenmodeheight.html">ScreenModeHeight()</a>, <a href="screenmodedepth.html">ScreenModeDepth()</a>, <a href="screenmoderefreshrate.html">ScreenModeRefreshRate()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=isscreenactive.html>IsScreenActive()</a> - <a href="index.html">Screen Index</a> - <a href="openscreen.html">OpenScreen()</a> -><br><br>

</body></html>